net/http.response.contentLength (field)

10 uses

	net/http (current package)
		server.go#L454: 	contentLength int64 // explicitly-declared Content-Length; or -1
		server.go#L1053: 		contentLength: -1,
		server.go#L1189: 			w.contentLength = v
		server.go#L1324: 		w.contentLength = int64(len(p))
		server.go#L1338: 	hasCL := w.contentLength != -1
		server.go#L1457: 			te, w.contentLength)
		server.go#L1644: 	if w.contentLength != -1 && w.written > w.contentLength {
		server.go#L1687: 	if w.req.Method != "HEAD" && w.contentLength != -1 && w.bodyAllowed() && w.contentLength != w.written {